/**
 * Witontek.com.
 * Copyright (c) 2012-2018 All Rights Reserved.
 */
package test.jaxb;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import test.BaseModel;

/**
 * 
 * @author Long
 * @version $Id: Order.java, v 0.1 2018年3月26日 下午3:26:26  xiaolong.ma  Exp $
 */
@XmlRootElement(name = "cc")
@XmlAccessorType(XmlAccessType.FIELD)
public class Order extends BaseModel {

    /**  */
    private static final long serialVersionUID = 8153968677620861354L;

    private String            name;

    private String            status;

    @XmlElement(name = "list")
    private List<Trade>       list;

    /**
     * Getter method for property <tt>name</tt>.
     * 
     * @return property value of name
     */
    public String getName() {
        return name;
    }

    /**
     * Setter method for property <tt>name</tt>.
     * 
     * @param name value to be assigned to property name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Getter method for property <tt>status</tt>.
     * 
     * @return property value of status
     */
    public String getStatus() {
        return status;
    }

    /**
     * Setter method for property <tt>status</tt>.
     * 
     * @param status value to be assigned to property status
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * Getter method for property <tt>list</tt>.
     * 
     * @return property value of list
     */

    public List<Trade> getList() {
        return list;
    }

    /**
     * Setter method for property <tt>list</tt>.
     * 
     * @param list value to be assigned to property list
     */

    public void setList(List<Trade> list) {
        this.list = list;
    }

}
